<template>
  <div class="content">
    <!-- <div class="card">
      <h1>TiKi Platinum</h1>
      <h2>6228 8076 2232 8768</h2>
      <h3>van conf banck</h3>
      <h4>03 / 29</h4>
    </div>
    <div class="circle"></div> -->
  </div>
</template>

<script>
// import { getData } from "../api/index";
// import * as echarts from "echarts";

// export default {
//   name: "EchartsOne",
//   //在模板渲染成html后调用，通常是初始化页面完成后，再对html的dom节点进行一些需要的操作
//   //适合DOM操作
//   mounted() {
//     //调用axios二次封装函数
//     getData().then(({ data }) => {
//       const { tableData } = data.data;
//       this.tableData = tableData;

//       //基于准备好的dom，初始化echarts实例
//       const echarts1 = echarts.init(this.$refs.echarts1);
//       //指定图表的配置项和数据
//       var echarts1Option = { animation: true, animationDuration: 5000 };
//       //处理数据xAxis
//       const { orderData } = data.data;
//       const xAxis = Object.keys(orderData.data[0]);
//       const xAxisData = {
//         data: xAxis,
//       };
//       echarts1Option.xAxis = xAxisData;
//       echarts1Option.yAxis = {};
//       echarts1Option.series = [];
//       echarts1Option.legend = {
//         data: xAxis,
//       };
//       xAxis.forEach((key) => {
//         echarts1Option.series.push({
//           name: key,
//           data: orderData.data.map((item) => item[key]),
//           type: "line",
//         });
//       });
//       // 使用刚指定的配置项和数据显示图表。
//       echarts1.setOption(echarts1Option);
//     });
//   },
// };
//
</script>

<style scoped>
* {
  margin: 0;
  padding: 0;
}
.card {
  color: rgba(255, 255, 255, 0.8);
  position: absolute;
  right: 420px;
  bottom: 20px;
  z-index: 10;
  font-family: sans-serif;
  text-align: center;
  width: 300px;
  height: 500px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(
    to top right,
    rgba(90, 149, 207, 0.5),
    rgba(58, 76, 99, 0.8)
  );
  box-shadow: 10px -10px 20px rgba(0, 0, 0, 0.2),
    -10px 10px 20px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  transform: rotate(-15deg);
}
h1 {
  margin-top: 50px;
}
h2 {
  margin-top: 250px;
}
h3,
h4 {
  padding-left: 60px;
  text-align: left;
}
h3 {
  margin-top: 40px;
  text-transform: uppercase;
}
h4 {
  margin-top: 10px;
}
.circle {
  width: 160px;
  height: 160px;
  position: absolute;
  right: 300px;
  bottom: -30px;
  background: linear-gradient(to top left, rgb(135 116 249), rgb(75 162 237));
  border-radius: 80px;
}
.rect {
  width: 140px;
  height: 140px;
  position: absolute;
  right: 110px;
  bottom: 420px;
  background: linear-gradient(
    to top left,
    rgba(135, 116, 249, 0.9),
    rgba(75, 162, 237, 0.9)
  );
  border-radius: 20px;
}
body {
  height: 100vh;
  background: radial-gradient(
      circle at 60% 90%,
      rgba(46, 103, 161, 1),
      transparent 60%
    ),
    radial-gradient(
      circle at 20px 20px,
      rgba(46, 103, 161, 0.8),
      transparent 25%
    ),
    #182336;
}
</style>
